<style>
    .proportion div {
        width: 150px;
        float: left;
    }
</style>
<div class="hp-tab-newprd">
    <ul class="j-sw-nav">
        <li class="newprd-s1 tab-li"><a href="<?php echo base_path();?>product_sku/list">查看</a></li>
        <li class="newprd-s2 tab-li<?php if(arg(1) == 'add'){?> on <?php }?>"><a href="<?php echo base_path();?>product_sku/add">添加</a></li>
        <?php if(arg(1) == 'edit' && !empty(arg(2))){?>
            <li class="newprd-s4 tab-li on"><a href="javascript:void(0)">修改</a></li>
        <?php }?>
    </ul>
    <div class="table-div">
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label">请选品牌:</div><?php print render($form['brand']); ?></div>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label">化肥品种:</div><?php print render($form['variety_name']); ?></div>
        </div>
        <div class="max-select small-input column proportion" style="clear:both">
            <div class="form-label">比例:</div><?php print render($form['proportion_one']); ?><?php print render($form['proportion_two']); ?><?php print render($form['proportion_three']); ?>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label">S/M:</div><?php print render($form['SM']); ?></div>
        </div>
        <div class="add-submit" style="text-align: center; clear: both"><?php print render($form['submit']); ?></div>
    </div>
</div>

<?php print drupal_render_children($form); ?>

